package dynamicJsonVerifyer;

public class Const {

    public static final Object isNull = new Object();
    public static final Object notNull = new Object();

    /*
     * 预设的字段校验元数据的属性
     */
    public static class VaildMetadataItem{
        /*
         * 不能为空
         */
        public static final String canNull = "canNull";
        /*
         * 不能为空字符串
         */
        public static final String canEmpty = "canEmpty";


        public static final String dataType = "dataType";
        /*
         * dataType=enum
         */
        public static final String enumData = "enumData";
        /*
         * dataType=array
         */
        public static final String arrayMaxSize = "arrayMaxSize";
        public static final String arrayMinSize = "arrayMinSize";

        /*
         * 添加校验器标识?
         */
    }

    public static class BaseVerifyDataType {
        public static final String int32 = "int32";
        public static final String enum0 = "enum";
        public static final String text = "text";
        public static final String array = "array";
        public static final String struct = "struct";
        public static final String float0 = "float";
        public static final String double0 = "double";
        public static final String boolean0 = "bool";
        public static final String date = "date";
    }
}
